package bit.springblogdemo.pojo.request;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AddBlogRequest {
    @NotNull(message = "userId不能为null")
    private Integer userId;
    @NotNull(message = "title不能为null")
    private String title;
    private String content;
}
